package com.zelin.rm;

import com.zyg.common.utils.SmsUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.Bean;

/**
 * ------------------------------
 * 功能：
 * 作者：WF
 * 微信：hbxfwf13590332912
 * 创建时间：2021/11/8-14:37
 * ------------------------------
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ConfigurationPropertiesScan
public class RMConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(RMConsumerApplication.class);
    }
    @Bean
    public  SmsUtils smsUtils(){
        return new SmsUtils();
    }
}
